class CreateShops < ActiveRecord::Migration
  def self.up
    create_table :shops do |t|
      t.string :t_sid
      t.integer :cid, :default => false
      t.string :nick, :default => false
      t.string :title, :default => false
      t.text :description
      t.string :bulletin
      t.string :pic_path
      t.datetime :created
      t.datetime :modified
      t.boolean :status, :default => false
      t.timestamps
    end
  end

  def self.down
    drop_table :shops
  end
end
